package com.mlearning.demo.pojo.neo4j;

import com.alibaba.fastjson.JSONArray;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.awt.font.TextHitInfo;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.Dictionary;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class User implements Serializable {
    private int id;
    private String name;
    private String password;
    private String email;
    private long registerTime;
    private ArrayList<Tree> trees;
    private String sign;
    public User(String name,String email){
        this.name=name;
        this.email=email;
    }
    public User(int id,String name,String email){
        this.id = id;
        this.name=name;
        this.email=email;
    }
}
